//
//  ShakeAward.h
//  gee
//
//  Created by Apple on 11-5-21.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreMotion/CoreMotion.h>

#define kAccelerationThreshold       0.7
#define kUpdateInterval              (1.0f/10.0f)

@interface ShakeAward : UIViewController<UIAccelerometerDelegate> {
    
    CMMotionManager *motionManager;
    BOOL is_award;
    
    UILabel *label;
    int award_count;

}

@property (nonatomic, retain) CMMotionManager *motionManager;
@property (nonatomic, retain) IBOutlet UILabel *label;


@end
